<?php
$Question = Dracosys::getSessionValue(SESSION_INTERFACE, 'Question');
?>
<h2>Editar Pergunta</h2>
<section id="EditQuestion">
    <form method="post" action="pergunta/atualizar" name="FormEditarPergunta">
        <section id="EditQuestion_Dados" class="section-update">
            <div class="out_txt big"><label for="EditQuestion_StTitulo">Pergunta</label></div>
            <div class="inp_txt big"><input type="text" name="StTitulo" id="EditQuestion_StTitulo" value="<?=$Question->getStTitulo()?>" /></div>
            <div class="out_txt big textarea"><label for="EditQuestion_TxAnotacao">Resposta</label></div>
            <div class="inp_txt big textarea"><textarea name="TxAnotacao" id="EditQuestion_TxAnotacao"><?=$Question->getTxResposta()?></textarea></div>
        </section>
        <div class="btn"><button class="v1">Atualizar</button></div>
        <input type="hidden" name="IDFaq" value="<?=treatUrl('id')?>" id="EditQuestion_IDFaq" />
    </form>
</section>
